has = True
kin = int(input('刀的长度为'))
if has:
    print('允许安检')
    if kin >= 20:
        print(f'刀的长度为{kin}不允许上车')
    else:
        print('允许上车')
else:
    print('没有车票,不允许上车')